﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SageKing.Database.Contracts;

public interface ISysConfig
{
    /// <summary>
    /// 编码
    /// </summary> 
    [MaxLength(64)]
    public string Code { get; set; }

    /// <summary>
    /// 名称
    /// </summary> 
    [Required, MaxLength(64)]
    public string Name { get; set; }

    /// <summary>
    /// 属性值
    /// </summary> 
    [MaxLength(128)]
    public string? Value { get; set; }

    /// <summary>
    /// 是否是内置参数（Y-是，N-否）
    /// </summary> 
    public YesNoEnum SysFlag { get; set; }

    /// <summary>
    /// 分组编码
    /// </summary> 
    [MaxLength(64)]
    public string? GroupCode { get; set; }

    /// <summary>
    /// 备注
    /// </summary> 
    [MaxLength(256)]
    public string? Remark { get; set; }
}
